<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
       "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <meta http-equiv="content-type" content="text/html;charset=UTF-8" />
  <title>Kogbox</title>
  <link href="/stylesheets/default.css?1198046247" media="screen" rel="Stylesheet" type="text/css" />
  <link href="/stylesheets/sIFR-screen.css?1198017364" media="screen" rel="Stylesheet" type="text/css" />
  <script src="/javascripts/sifr.js" type="text/javascript"></script>
  <script type="text/javascript" charset="utf-8">
  	if(typeof sIFR == "function"){
	    sIFR.replaceElement("h2.metabook", named({sFlashSrc: "/metabold.swf", sColor: "#3A5A9A"}));
	};
  </script>
</head>
<body>

<div id="header">
<a href="/"><img src="/images/logo-3.png" /></a>
<div class="links">
	<a href="/">home</a> | 
	<a href="/about">about</a> | 
	<a href="/examples">examples</a> | 
	<a href="/view/all">snippets</a> | 
	<a href="/docs">docs</a> | 
	<a href="http://blog.kogbox.com">blog</a> | 
	<a href="/search">search</a>
	
</div>
</div>

<div id="content" class="paragraph">

<h1>Examples</h1>

<div id="examples">
<h1>"<a href="http://www.kogbox.com/view/snippet/94"><em>chart_webfx_test</em></a>"</h1>
	<h3>Description</h3>
	<p><p>Test of the Chart Webfx JavaScript charting module, by <a href="http://webfx.eae.net/dhtml/chart/chart.html">Emil A Eklund</a>. References the <a href="http://www.kogbox.com/view/snippet/95">chart_webfx_test_js</a> snippet, where the actual JS code to generate the charts is.</p></p>
	<br />
	<a class="button" href="http://run.kogbox.com/php/1/chart_webfx_test" target="_blank">Run</a> 
	
	 | <a href="http://run.kogbox.com/code/?u=1&m=chart_webfx_test" target="_blank">View code &raquo;</a>
</div>

<br />
<br />
	
<h1>"<a href="http://www.kogbox.com/view/snippet/86"><em>uo_google_translate</em></a>"</h1>
	<h3>Description</h3>
	<p><p>An exact usage of the <a href="http://code.google.com/p/uogt/">uOGT <span class="caps">API</span></a>, a.k.a. the &#8220;unOfficial Google Translate <span class="caps">API</span>, by <a href="http://googlified.com/2006unofficial-google-translate-api/">Haochi Chen</a>. It was released by Haochi under the New <span class="caps">BSD</span> License. <br /><br /><br />Use by calling unofficial_google_translate($text,$lp) where $text is the string to translate and $lp is a language pairing in the format &#8220;en|de&#8221; for english-german, &#8220;en|es&#8221; for english-spanish.<br /><br /><br />Try for example: &#8220;<em>echo unofficial_google_translate(&#8220;Hello world.&#8221;,&#8221;en|es&#8221;);</em>&#8221; </p></p>
	<br />
	<span class="button" href="http://run.kogbox.com/php/1/uo_google_translate" target="_blank">Run</span> &nbsp;(can only be called from another snippet)
	
	 | <a href="http://run.kogbox.com/code/?u=1&m=uo_google_translate" target="_blank">View code &raquo;</a>

<br />
<br />
	
	<h1>"<a href="http://www.kogbox.com/view/snippet/61"><em>geocode_form</em></a>"</h1>
		<h3>Description</h3>
		<p><p>Geocodes a location provided in a form, and includes a Google Map.  Uses <a href="http://www.kogbox.com/view/snippet/59">geocode_fn</a></p></p>
		<br />
		<a class="button" href="http://run.kogbox.com/php5/1/geocode_form" target="_blank">Run</a> 

		 | <a href="http://run.kogbox.com/code/?u=1&m=geocode_form" target="_blank">View code &raquo;</a></p>

<br />
<br />

<h1>"<a href="http://www.kogbox.com/view/snippet/81"><em>3d_bars_demo</em></a>"</h1>
	<h3>Description</h3>
	<p><p>Example of using the <a href="http://www.kogbox.com/view/snippet/72">3d_bars</a> snippet; displays a series of 3d-like bars for graphing purposes.</p></p>
	<br />
	<a class="button" href="http://run.kogbox.com/php/1/3d_bars_demo" target="_blank">Run</a> 
	
	 | <a href="http://run.kogbox.com/code/?u=1&m=3d_bars_demo" target="_blank">View code &raquo;</a></p>

	
</div>

<div id="footer">
<br />
<br />
<div class="links">
	<a href="/">home</a> | 
	<a href="/about">about</a> | 
	<a href="/examples">examples</a> | 
	<a href="/view/all">snippets</a> | 
	<a href="/docs">docs</a> | 
	<a href="http://blog.kogbox.com">blog</a> | 
	<a href="/search">search</a>
</div>
</div>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write("\<script src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'>\<\/script>" );
</script>
<script type="text/javascript">
var pageTracker = _gat._getTracker("UA-180781-22");
pageTracker._initData();
pageTracker._trackPageview();
</script>
</body>
</html>